<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>管理后台 - 校园二手书交易平台</title>
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
    <div th:replace="fragments/header :: navbar"></div>
    <div class="container mt-5">
        <h2 class="mb-4"><i class="fas fa-cogs"></i> 管理后台</h2>
        <div class="row">
            <div class="col-md-4 mb-4">
                <div class="card h-100">
                    <div class="card-body text-center">
                        <i class="fas fa-users fa-2x mb-3 text-primary"></i>
                        <h5 class="card-title">用户管理</h5>
                        <p class="card-text">设置学生用户权限，管理用户账号，处理违规账号。</p>
                        <a href="/booktrading/admin/user" class="btn btn-outline-primary">进入</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4 mb-4">
                <div class="card h-100">
                    <div class="card-body text-center">
                        <i class="fas fa-chart-bar fa-2x mb-3 text-success"></i>
                        <h5 class="card-title">平台数据分析</h5>
                        <p class="card-text">交易活跃度统计、类别热度、交易量与金额等数据分析。</p>
                        <a href="/booktrading/admin/stats" class="btn btn-outline-success">进入</a>
                    </div>
                </div>
            </div>
            <div class="col-md-4 mb-4">
                <div class="card h-100">
                    <div class="card-body text-center">
                        <i class="fas fa-clipboard-list fa-2x mb-3 text-warning"></i>
                        <h5 class="card-title">系统日志</h5>
                        <p class="card-text">记录平台所有操作日志，包括书籍发布、订单处理、用户评价等。</p>
                        <a href="/booktrading/admin/log" class="btn btn-outline-warning">进入</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="alert alert-info mt-4">如需实现具体功能，请联系开发者完善对应模块。</div>
    </div>
</body>
</html> 